package com.gusto.engine.colfil.transformation.impl;

import java.util.List;
import java.util.Map;

import org.apache.log4j.Logger;

import com.gusto.engine.colfil.Evaluation;
import com.gusto.engine.colfil.transformation.Transformation;

/**
 * <p>This transformation transforms a set of evaluations depending on a set of rules.</p>
 * 
 * @author amokrane.belloui@gmail.com
 * 
 */
public class RuleBasedTransformation implements Transformation {
	
	private Logger log = Logger.getLogger(getClass());
	
	// TODO Implement the rule based transformation
	
	private Map<String, String> ruleSet;
	
	public RuleBasedTransformation(Map<String, String> ruleSet) {
		this.ruleSet = ruleSet;
	}
	
	/**
	 * {@inheritDoc}
	 */
	public List<Evaluation> transform(List<Evaluation> evals) {
		log.info("Applying Rule-Based Transformation");
		ruleSet.get("");
		return null;
	}
	
}
